import request from '@/utils/request'

// 查询前端环境配置项明细列表
export function listFrontendEnvConfigItemDetail(query) {
  return request({
    url: '/tool/frontend/frontendEnvConfigItemDetail/list',
    method: 'get',
    params: query
  })
}

// 查询前端环境配置项明细详细
export function getFrontendEnvConfigItemDetail(configItemDetailId) {
  return request({
    url: '/tool/frontend/frontendEnvConfigItemDetail/' + configItemDetailId,
    method: 'get'
  })
}

// 新增前端环境配置项明细
export function addFrontendEnvConfigItemDetail(data) {
  return request({
    url: '/tool/frontend/frontendEnvConfigItemDetail',
    method: 'post',
    data: data
  })
}

// 修改前端环境配置项明细
export function updateFrontendEnvConfigItemDetail(data) {
  return request({
    url: '/tool/frontend/frontendEnvConfigItemDetail',
    method: 'put',
    data: data
  })
}

// 删除前端环境配置项明细
export function delFrontendEnvConfigItemDetail(configItemDetailId) {
  return request({
    url: '/tool/frontend/frontendEnvConfigItemDetail/' + configItemDetailId,
    method: 'delete'
  })
}
